#!/bin/bash
if [ -f ../data/*.glade.h ]
then
  rm ../data/*.glade.h
fi
for glade in ../ui/*.glade
do
  intltool-extract --type=gettext/glade $glade
done

if ! [ -f bluedun.pot ]
then
  touch bluedun.pot
fi
xgettext --language=Python --keyword=_ --keyword=N_ --output bluedun.pot ../ui/*.glade.h ../src/*.py
rm ../ui/*.glade.h
read
